/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cardpackage;

/**
 *
 * @author apple
 */
public class SuperVIPCard extends Card
{

    public SuperVIPCard() {
    }

    public SuperVIPCard(String type, double amount) {
        super(type, amount);
    }

    @Override
    public double shouldPay(double totalPrice) {
        return totalPrice*0.5;
    }
    
    
}
